import {
  Entity,
  Column,
  PrimaryGeneratedColumn,
} from 'typeorm';

@Entity()
export class Cover {
  @PrimaryGeneratedColumn()
  id: string;

  @Column({ type: 'varchar' })
  postId: string;

  @Column({ type: 'varchar', default: 'null' })
  coverImg: string;
}
